package com.rf.richfitwheel.dyn.business.entity;

import java.io.Serializable;

public class ColumnDescribeBean implements Serializable {

    /**
     * 字段名
     */
    private String columnName;
    /**
     * 字段类型
     */
    private String columnType;
    /**
     * 控件名
     */
    private String widgetName;
    /**
     * 是否必输
     */
    private boolean required;
    /**
     * 是否主键
     */
    private boolean primary;
    /**
     * 字段长度
     */
    private int columnLength = 0;
    /**
     * 小数位数
     */
    private int places = 0;

    private String columnDes;

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getColumnType() {
        return columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType;
    }

    public String getWidgetName() {
        return widgetName;
    }

    public void setWidgetName(String widgetName) {
        this.widgetName = widgetName;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public boolean isPrimary() {
        return primary;
    }

    public void setPrimary(boolean primary) {
        this.primary = primary;
    }

    public int getColumnLength() {
        return columnLength;
    }

    public void setColumnLength(int columnLength) {
        this.columnLength = columnLength;
    }

    public int getPlaces() {
        return places;
    }

    public void setPlaces(int places) {
        this.places = places;
    }

    public String getColumnDes() {
        return columnDes;
    }

    public void setColumnDes(String columnDes) {
        this.columnDes = columnDes;
    }
}
